package edu.bit.water.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import edu.bit.water.entity.EntityEvaCmpWaterAnl;

@Mapper
@Repository
public interface EntityEvaCmpWaterAnlDao {
	
	//新增生产用水数据
	int addPro(EntityEvaCmpWaterAnl entityEvaCmpWaterAnl);
	//新增非生产用水数据
	int addNonPro(EntityEvaCmpWaterAnl entityEvaCmpWaterAnl);
	//删除
	int delete(int id);
	//单个查询
	EntityEvaCmpWaterAnl selectOne(int id);
	//更新数据
	int update(EntityEvaCmpWaterAnl entityEvaCmpWaterAnl);
	//查询数据
	List<EntityEvaCmpWaterAnl> select(int labelId);
}
